﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster/Site.Master" AutoEventWireup="true" CodeBehind="ConsultarActorPorCU.aspx.cs" Inherits="Sistema_Totem.Vista.CU.ConsultarActorPorCU" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link href="/Styles/accordion.css" rel="stylesheet" type="text/css" />
    
<div id='ruta' runat="server" style = "height:30px" class="ruta">
        CU > Consultar CU > Consultar Actor Por Caso de Uso
</div>

        &nbsp;&nbsp;&nbsp;&nbsp;<strong>Actor asociado al Caso de Uso:</strong>
         <div style="position:absolute; border:solid 0px #000000; top:170px; left:480px;">
        <asp:TextBox ID="TextBox1" runat="server" Width="340px" MaxLength="20"></asp:TextBox>
                    &nbsp;<asp:Button ID="Button2" CssClass="boton" runat="server" Text="Buscar" />
                    <br />
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="327px" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1">Por Nombre</asp:ListItem>
                        <asp:ListItem Value="2">Por Codigo</asp:ListItem>
                    </asp:RadioButtonList>
    
    </div>
        <table style="width: 100%; margin-left:50px;">
            
            <tr>
                <td>
                </td>
                <td class="style1" align="center" style="width: 591px">
                </td>
                <td style="width: 215px">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td class="style1" align="center" style="width: 591px">
                </td>
                <td style="width: 215px">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style19" align="center">
                    &nbsp;
                </td>
                <td class="style1" align="center" style="width: 591px">
                    <br />
                    <asp:GridView ID="GridViewActor" runat="server" CellPadding="4" 
                        ForeColor="#333333" AutoGenerateColumns="False"
                        GridLines="None" Width="600px" HorizontalAlign="Center" Style="text-align: center"
                        AllowPaging="True" PageSize="8"  
                        OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCommand="GridViewActor_RowCommand">
                        <HeaderStyle CssClass="accordionHeader"  ForeColor="White" />
                        <FooterStyle BackColor="#AA2828"  ForeColor="White" />
                        <PagerStyle BackColor="#AA2828" ForeColor="White" HorizontalAlign="Center" />
                        
                        <Columns>
                            <asp:BoundField DataField="idActor" HeaderText="Codigo"/> 
                            <asp:BoundField DataField="nombre" HeaderText="Nombre"/> 
                            <asp:TemplateField ShowHeader="True" HeaderText="Ver Detalle">
                            <ItemTemplate>
                                <asp:ImageButton ID="ConsultButton" runat="server" CommandName="Consultar" 
      CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" ImageUrl="~/Styles/Images/Search.png" AlternateText="Consultar" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>


</asp:Content>
